
\documentclass{beamer}
 \usetheme[pageofpages=of,% String used between the current page and the
                         % total page count.
          alternativetitlepage=true,% Use the fancy title page.
          titlepagelogo=UlbLogos/logo-ulb,% Logo for the first page.
          watermark=,% Watermark used in every page.
          watermarkheight=25px,% Height of the watermark.
          watermarkheightmult=6,% The watermark image is 4 times bigger
                                % than watermarkheight.
          ]{Torino}

\usepackage{epstopdf}
\usepackage{spverbatim}
\usepackage{tikz}
\usepackage{pgfpages}
\usepackage{hyperref}

\usetikzlibrary{arrows,automata,shadows}
% Nouvelle is a green and red alternative to the chameleon color theme.
\usecolortheme{nouvelle}
\logo{\includegraphics[height=1cm,scale=0.6]{UlbLogos/ULBPolytech.eps}}

\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}
 
% Define block styles  
\tikzstyle{tier}=[draw, fill=yellow!20, text width=6.0em, text centered,
  minimum height=1.5em,drop shadow]
\tikzstyle{component} = [tier, text width=8em, minimum width=10em,
  minimum height=3em, rounded corners, drop shadow]
\tikzstyle{texto} = [above, text width=6em, text centered]
\tikzstyle{linepart} = [draw, thick, color=black!50, -latex', dashed]
\tikzstyle{line} = [draw, thick, color=black!50, -latex',<->]
\tikzstyle{ur}=[draw, text centered, minimum height=0.01em]
 
% Define distances for bordering
\newcommand{\blockdist}{1.3}
\newcommand{\edgedist}{1.5}

\newcommand{\component}[2]{node (p#1) [component]
  {{\scriptsize\textit{#2}}}}

% Draw background
\newcommand{\background}[5]{%
  \begin{pgfonlayer}{background}
    % Left-top corner of the background rectangle
    \path (#1.west |- #2.north)+(-0.5,0.5) node (a1) {};
    % Right-bottom corner of the background rectanle
    \path (#3.east |- #4.south)+(+0.5,-0.25) node (a2) {};
    % Draw the background
    \path[fill=blue!20,rounded corners, draw=black!50, dashed]
      (a1) rectangle (a2);
    \path (a1.east |- a1.south)+(0.8,-0.3) node (u1)[texto]
      {\scriptsize\textit{#5 Tier}};
  \end{pgfonlayer}}

% Comment to have the actual, final presentation.  
\setbeameroption{show notes on second screen}


\author{Jacopo De Stefani}
\title{Can a computer make us laugh?}
\subtitle{INFO-H-512 - Current trends in AI}
\institute{Universite' Libre de Bruxelles}

\begin{document}

\begin{frame}[t,plain]
\titlepage
\end{frame}

\include{BodyPresentation}
%\frame{Test}

\begin{frame}[allowframebreaks]
         \frametitle{References}
         \bibliographystyle{alpha}
         \bibliography{References}
\end{frame}


\end{document}
